
const root:string = "";
class ResourceLoad {
    careerPath:string = root + "career/";
    /**
     * 心法图标
     * @param icon 图标id
     * @returns 
     */
    public getCareerUrl(icon:number):string{
        return this.careerPath + icon + ".png";
    }
    public getUrl(path:string, image:number):string{

        return root + path + image + ".png";
    }
}
export const resourceLoad = new ResourceLoad();